﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Infrastructure.kflwyg
{
    public class AddWorkerContractParam
    {
        /// <summary>
        /// 
        /// </summary>
        public string project_code { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string corp_code { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string corp_name { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string idcard_type { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string idcard_number { get; set; }

        /// <summary>
        /// 工人劳动合同编号
        /// </summary>
        public string contract_code { get; set; }

        /// <summary>
        /// 合同期限类型。参考数据字典：合同期限类型字典表
        /// </summary>
        public int contract_period_type { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string start_date { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string end_date { get; set; }

        /// <summary>
        /// 计量单位。参考数据字典：计量单位类型字典表
        /// </summary>
        public int unit { get; set; }

        /// <summary>
        /// 计量单价。根据结算方式，对应的单价，单位：元
        /// </summary>

        public decimal unit_price { get; set; }

    }

    /// <summary>
    /// 修改工人合同信息 参数
    /// </summary>
    public class UpdateWorkerContractParam : AddWorkerContractParam
    {
        public int id { get; set; }
    }
}
